package com.bdqn.pojo;

public class User {
    private String protagonist1;                //主人公1
    private String protagonist2;                //主人公2
    private String dialogue1;                   //主人公1对话内容
    private String dialogue2;                   //主人公2对话内容



    public void execute(){
        System.out.println(this.getProtagonist1()+":"+this.getDialogue1());
        System.out.println(this.getProtagonist2()+":"+this.getDialogue2());
    }

    public User(){

    }

    public User(String protagonist1, String protagonist2, String dialogue1, String dialogue2) {
        this.protagonist1 = protagonist1;
        this.dialogue1 = dialogue1;
        this.protagonist2 = protagonist2;
        this.dialogue2 = dialogue2;
    }

    public String getProtagonist1() {
        return protagonist1;
    }

    public void setProtagonist1(String protagonist1) {
        this.protagonist1 = protagonist1;
    }

    public String getProtagonist2() {
        return protagonist2;
    }

    public void setProtagonist2(String protagonist2) {
        this.protagonist2 = protagonist2;
    }

    public String getDialogue1() {
        return dialogue1;
    }

    public void setDialogue1(String dialogue1) {
        this.dialogue1 = dialogue1;
    }

    public String getDialogue2() {
        return dialogue2;
    }

    public void setDialogue2(String dialogue2) {
        this.dialogue2 = dialogue2;
    }
}
